<?php
/**
 * Created by PhpStorm.
 * User: 耿经纬
 * Date: 2017/11/11 0011
 * Time: 17:16
 */

namespace app\admin\model;


use think\Model;

class Category extends Model
{
	public function getCreate($data){

        return $this->data($data)->allowField(true)->save();
	}
	public function getList(){

	    return $this->select();
    }
}